package com.example.excel.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Data
public class StockDTO {

    @ExcelProperty(index = 0)
    private String time;
    @ExcelProperty(index = 1)
    private double price;//单价
    @ExcelProperty(index = 2)
    private String saleNumStr;//现手
    @ExcelProperty(index = 3)
    private int num; //笔数
}

